import { defineClientConfig } from 'vuepress/client'
import DemoBlock from './components/demoBlock.vue'
import Demo from './components/demo.vue'
import { SuButton } from '@summer-ui/components'

export default defineClientConfig({
    enhance({ app, router, siteData }) {
        app.component('DemoBlock', DemoBlock)
        app.component('Demo', Demo)
        app.component(SuButton.name!, SuButton)
    },
    setup() { },
    rootComponents: [],
})